package com.hyt.it.ogt.pj.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hyt.it.ogt.pj.model.entity.ProjectSetting;


/**
 * <p>
 * 数据包或者AB卷分配规则服务类
 * </p>
 *
 * @author liy
 * @since 2022-02-28
 */
public interface ICommonAutomaticAllocationService extends IService<ProjectSetting> {

	/**
	 * 自动分配专家评卷
	 */
	Integer commonAutomaticAllocation(String projectId, Integer markPublish) throws Exception;

	/**
	 * 自动分配专家评卷
	 */
	Integer commonAutomaticAllocation(String projectId);

	/**
	 * 试卷包或ab卷判断
	 * @param projectId
	 * @return
	 */
	boolean getPaperFlag(String projectId);
}
